PATHMac OS 8 and 9 Developer Documentation > Human Interface Toolbox > Appearance Manager >

Programming With the Appearance Manager


GetThemeScrollBarThumbStyle

Obtains the system preference for the type of scroll box to be used.

pascal OSStatus GetThemeScrollBarThumbStyle (
                     ThemeScrollBarThumbStyle *outStyle);
outStyle
A pointer to a value of type ThemeScrollBarThumbStyle. On return, the value specifies the type of scroll box being used. See Theme Scroll Box Style Constants for descriptions of possible values.
function result
A result code; see Result Codes .
DISCUSSION

Because the user can specify either proportional or fixed-size scroll boxes (also known as "scroll indicators" or "thumbs") on a theme-specific basis, your application should call GetThemeScrollBarThumbStyle to obtain the preferred style under the current theme.

VERSION NOTES

Available with Appearance Manager 1.1 and later.


© 1999 Apple Computer, Inc. – (Last Updated 29 April 99)